#
# Be sure to run `pod lib lint HWCommon.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'HWCommon'
    s.version          = '0.1.1'
    s.summary          = '海外Common组件库'
    
    # This description is used to generate tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!
    
    s.description      = <<-DESC
    TODO: Add long description of the pod here.
    DESC
    
    s.homepage         = 'https://gitee.com/hxs1024/HWCommon'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'HeXiaoSen' => 'hxs1024@163.com' }
    s.source           = { :git => 'https://gitee.com/hxs1024/HWCommon.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    
    s.ios.deployment_target = '8.0'
    
    s.source_files = 'HWCommon/Classes/**/**/*'
    
    # s.resource_bundles = {
    #   'HWCommon' => ['HWCommon/Assets/*.png']
    # }
    #*************************文件分层***********************************#
    #    文件分级验证一直报错。
#    s.subspec 'Utils' do |utils|
#        utils.source_files = 'HWCommon/Classes/Utils/*'
#    end
#    s.subspec 'Category' do |category|
#        category.source_files = 'HWCommon/Classes/Category/*'
#    end
#
#    s.subspec 'Encode' do |encode|
#        encode.source_files = 'HWCommon/Classes/Encode/**/*'
#    end
#
#    s.subspec 'Helper' do |helper|
#        helper.source_files = 'HWCommon/Classes/Helper/**'
#
#        helper.subspec 'WebSocket' do |webSocket|
#            webSocket.source_files = 'HWCommon/Classes/Helper/WebSocket/*'
#        end
#
#        helper.subspec 'CrashReportHelper' do |crashReportHelper|
#            crashReportHelper.source_files = 'HWCommon/Classes/Helper/CrashReportHelper/*'
#        end
#    end
#
#    s.subspec 'UIComponent' do |uiComponent|
#        uiComponent.source_files = 'HWCommon/Classes/UIComponent/**'
#
#        uiComponent.subspec 'CJRotationRingView' do |cjRotationRingView|
#            cjRotationRingView.source_files = 'HWCommon/Classes/UIComponent/CJRotationRingView/*'
#        end
#    end
    
    #*************************文件分层***********************************#
    
    #*************************依赖库************************************#
    
    # s.public_header_files = 'Pod/Classes/**/*.h'
    # s.frameworks = 'UIKit'
    s.dependency 'YYCategories', '~> 1.0.4'
    s.dependency 'Crashlytics', '~> 3.10.9'
    s.dependency 'MBProgressHUD', '~> 1.0.0'
    s.dependency 'Masonry', '~> 1.1.0'
    s.dependency 'YYModel', '~>1.0.4'
    #*************************依赖库************************************#
end
